package com.ymj.provider;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


/**
 * 项目启动类，当前设计会在springContext初始化之后启动nettyServer
 * @link com.ymj.netty.server.Server
 */
@Configuration
@ComponentScan("com.ymj")
@PropertySource(value = {"classpath:application.properties"},ignoreResourceNotFound = true)
public class BootstrapServer {

    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext(BootstrapServer.class);

    }

}
